package com.ckf.login_wx.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ckf.login_wx.entity.Bill;
import com.ckf.login_wx.entity.Disburse;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface DisburseMapper extends BaseMapper<Disburse> {
	@Select("select * from disburse where time like concat('%',#{name},'%')")
	public List<Disburse> seletime(String name);
	
	@Select("select * from disburse where ${likename} like concat('%',#{name},'%')")
	public List<Disburse> selectlike(@Param("likename") String likename,@Param("name") String name);
}
